﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PMS.XCMG.Entity;
using PMS.XCMG.Models;
using PMS.XCMG.Util;

namespace PMS.XCMG.IBusiness
{
    public interface ISpecAssignDetailBusiness : IBusRepository<SpecAssignDetail>
    {
        Task<PageResult<SpecAssignDetail>> GetPageResultAsync(PageInput<SpecAssignDetailQM> query);
        /// <summary>
        /// 获取要下发的尺寸数据
        /// </summary>
        /// <param name="bomId"></param>
        /// <param name="type"></param>
        /// <returns></returns>
        Task<List<SpecAssignDetail>> GetByBomAsync(string bomId, string type);
    }
}
